﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template/Detail.master" AutoEventWireup="true"
    CodeBehind="PDetail.aspx.cs" Inherits="MaluJg.web.PovertyIn.PDetail" %>

<%@ Register Src="~/PovertyIn/UVLive.ascx" TagName="uVLive" TagPrefix="uc" %>
<%@ Register Src="~/PovertyIn/UVDeformity.ascx" TagName="uVDeformity" TagPrefix="uc" %>
<%@ Register Src="~/PovertyIn/UVSick.ascx" TagName="uVSick" TagPrefix="uc" %>
<%@ Register Src="~/PovertyIn/UVStudy.ascx" TagName="uVStudy" TagPrefix="uc" %>
<%@ Register Src="~/PovertyIn/UVOther.ascx" TagName="uVOther" TagPrefix="uc" %>
<%@ Register Src="~/Control/TabberHeader.ascx" TagName="TabberHeader" TagPrefix="wsc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script>
        function refreshParent() {
            window.parent.document.getElementById('ctl00$ListToolBarPlaceHolder$btnRefresh').click();
        }

        function openEdit() {
            var width = 820;
            var height = 640;
            window.open("PEdit.aspx?ID=<%=RecordID %>&type=<%=SType %>&NoCache=" + Math.random(), "newwindow", 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,left=' + (screen.width - width) / 2 + ',top=' + (screen.height - height) / 2);
        }
        function ChangeDetailView2() {
            var height = document.body.clientHeight;
            var infoDetail = document.getElementById("trInfo2");
            if (infoDetail.style.display == 'none') {
                document.getElementById("imgExpand2").src = "../Images/Icon/icon-collapse.png";
                infoDetail.style.display = '';
            }
            else {
                document.getElementById("imgExpand2").src = "../Images/Icon/icon-expand.png";
                infoDetail.style.display = 'none';
            }
            PageResize();
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ListToolBarPlaceHolder" runat="server">
    <table cellspacing="2" cellpadding="0" border="0" id="tblOperator" runat="server">
        <tr>
            <td class="ToolMenu" width="60" id="tdEdit" runat="server">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)"
                    onclick="openEdit();">
                    <span>
                        <img src="../Images/Icon/object/Dataset-edit.gif" /></span><span>编辑</span>
                </div>
            </td>
            <td class="Fg" id="tdEditFg" runat="server">
                <img src="../Images/FgLine.gif" alt="" />
            </td>
            <td class="ToolMenu" width="60" id="tdDelete" runat="server">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="lbtnDelete" OnClick="lbtnDelete_Click" OnClientClick="return window.confirm('确认删除?');">
                        <span><img src="../Images/Icon/ACTION/delete.gif" /></span><span>删除</span>
                    </asp:LinkButton>
                </div>
            </td>
            <td class="Fg" id="td2" runat="server">
                <img src="../Images/FgLine.gif" alt="" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="InfoContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="TextContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="TabberContentPlaceHolder" runat="server">
    <wsc:TabberHeader ID="thInfo" runat="server" DivID="div1" Title="基本信息" Selected="true" />
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Div1ContentPlaceHolder" runat="server">
    <uc:uVLive runat="server" ID="uvLive1"></uc:uVLive>
    <uc:uVSick runat="server" ID="uVSick1"></uc:uVSick>
    <uc:uVDeformity runat="server" ID="uVDeformity1"></uc:uVDeformity>
    <uc:uVStudy runat="server" ID="uVStudy1"></uc:uVStudy>
    <uc:uVOther runat="server" ID="uVOther1"></uc:uVOther>
</asp:Content>
<asp:Content ID="Content12" ContentPlaceHolderID="TabberJSContentPlaceHolder" runat="server">
</asp:Content>
